package cn.mw.cmdb.template.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @description 值映射参数
 */
@Getter
@Setter
@Schema(name = "ValueMappingParam", description = "值映射参数")
public class ValueMappingParam {

    @Schema(description = "值映射ID")
    private String valuemapid;

    @Schema(description = "值映射名称")
    private String name;

    @Schema(description = "值映射关联id")
    private String hostid;

    @Schema(description = "应用集修改前名称")
    private List<ValueMappingDto> mappings;


    @Getter
    @Setter
    @Schema(name = "ValueMappingDto", description = "值明细映射")
    public class ValueMappingDto{
        private String value;
        private String newvalue;
    }
}
